<?php

class Url_topke extends CI_Model {//处理提交的url和转换淘宝客相关的关系

    const Statustrue = True;
    const Statusflase = False;

    function __construct() {
        $this->load->helper('fuc');
        $this->load->library('topclass');
        $this->config->load('sysetting');
        parent::__construct();
        $this->config->load('topapiconfig'); //加载top配置文件
        $this->appsetingarray = $this->config->item('tobaokeapi'); //new_app
    }

    function change_shoptaoke_url() {  
      $rrr=$this->topclass->api_TaobaokeItemsConvertRequest("TaobaokeItemsConvertRequest","15886456538",
              "13057742" );
               objectToArray(&$rrr);
               
        print_r($rrr);
    }

    function change_itemtaoke_url() {
        
    }

}

?>
